package com.zle.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.zle.dao.bean.Person;
/**
 * 
 * 接口泛型第一个参数是实体,第二个是id的类型
 * @author zle
 *
 */
public interface IpersonDao extends JpaRepository<Person, Integer>,JpaSpecificationExecutor<Person>{
	
	public List<Person> findByName(String name);
}
